flowchart TD A[TsCurrentFeedbackNodes] --> B[TsCurrentFeedbackNodeData] B --> C[TsCurrentFeedbackChannelData] C --> D[value]
Current Feedback (experimental)
Quick access
Intro
The Current Feedback subsystem provides functions to access and stream current feedback data from Teslasuit devices.
Note:
Since TsCurrentFeedback is a member of the device class, it cannot be used independently without an active Teslasuit device.
Class TsCurrentFeedback
Handles current feedback data processing and streaming.
This class manages the interaction with current feedback nodes, including data streaming and retrieval.
Class methods:
start_streaming(self)Start the streaming of current feedback data.
stop_streaming(self)Stop the streaming of current feedback data.
get_data_on_ready(self)Blocks execution until current feedback data is ready and returns the latest data.
Returns:
TsCurrentFeedbackNodes(struct): The latest current feedback data.
Access to the data
These code snippets and charts are just an example of how is the data flow looks like. to know more, please visit data structures page.
Access to current feedback channel data
TsCurrentFeedback.get_data_on_ready().nodes[0].channels_data[0].value